




























function map(arr,callback)
{
    const result=[]
    arr.forEach((item,index)=>{
        result.push(callback(item,index))
    })
    return result
}